package org.magicsoft.office.excel.model;

import java.util.ArrayList;
import java.util.List;

public class UniqueKey {

	private String[] columns = null;

	private List<String> dbColumns = null;

	public UniqueKey(String... columns) {
		this.columns = columns;
	}

	public String[] getColumns() {
		return columns;
	}

	public void setColumns(String[] columns) {
		this.columns = columns;
	}

	public List<String> getDbColumns() {
		if (this.dbColumns == null) {
			this.dbColumns = new ArrayList<String>();
		}
		return this.dbColumns;
	}

	public void setDbColumns(List<String> dbColumns) {
		this.dbColumns = dbColumns;
	}

}
